package com.xykj.mythy.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class ApplicationListener implements ServletContextListener {


    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("ApplicationListener 监听器启动...");
    }


    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("ApplicationListener 监听器销毁...");
    }

}
